﻿CREATE PROCEDURE [dbo].[yaf_group_delete](
                @GroupID INT)
AS
    BEGIN
        DELETE FROM yaf_ForumAccess
        WHERE       GroupID = @GroupID
        DELETE FROM yaf_UserGroup
        WHERE       GroupID = @GroupID
        DELETE FROM yaf_Group
        WHERE       GroupID = @GroupID
    END


